<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<!-- action="/post/addnewpost.do" -->
<form:form method="POST"  commandName="postbean" action="submitnewpost.do" >


<div class="addnewpost"></div>
Type: 
<form:select path="categoryType"  >
	<form:option value="NONE" label="--- Select ---"/>
	
    <form:options items="${category}"  itemLabel="description"/> 
</form:select>

<br/><br/>
Title:
<form:textarea path="title" rows="1" cols="150"/>

 <br /><br/>
Detailed contents:
<form:textarea path="body" rows="20" cols="150" />
<br/><br/> 
<input type="submit" value="Submit" />



</form:form>
</div>
